$(document).ready(function(){
	$(".title-l").addClass("layui-icon layui-icon-triangle-r");
	$(".icon-add").addClass("layui-icon layui-icon-add-1");
	$(".icon-sub").addClass("layui-icon layui-icon-subtraction");
});
function getKidEle(id, name){
    var ele = "<div class='kid'><span class='my-font'>";
    ele += "<i class='title-l' onclick='selectKid(this, "+id+");'></i>";
    ele += "<span ondblclick='openUpdateLayer("+id+",&quot;"+name+"&quot;);'>"+name+"</span>";
    ele += "<i class='icon-add' onclick='openAddLayer("+id+",&quot;"+name+"&quot;);'></i>";
    ele += "<i class='icon-sub' onclick='onDelete("+id+");'></i>";
    ele += "</span></div>";
    return ele;
}